<template>
  <div>
      <span @click="TobackA" style="color:blue;cursor:pointer">返回</span>&nbsp;<router-link to="/dl">返回dl首页</router-link>
      <p>页面B</p>
      <!-- query传参：this.$route.query.something -->
      <p>query参数：{{this.$route.query.something}}</p>
      <!-- <p>params传参：{{this.$route.params.something}}</p> -->
      <!-- <p>params传参时需要用到name，设置name时，页面c无法显示？？？</p> -->
      <!-- <DlC/> -->
      <router-view></router-view>
  </div>
</template>

<script>
// import DlC from './C'
export default {
    // components:{
    //     DlC,
    // },
    methods:{
        TobackA(){
            this.$router.push('/dl/DlA')
        },
    }
}
</script>

<style>

</style>